namespace * com.gdl.kq.dataobject.user

#考勤用户DTO
struct UserLoginDTO {
    1:required i32 id,
	2:required i32 userid,
    3:required string username,
    4:required string password,
	5:required string type,
    6:required string phone,
    7:required string code,
	8:optional map<string,string> data
}
# 发送短信
struct UserSendSmsDTO{
	1:required i32 id,
	2:required i32 userid,
    3:required string phone,
	4:required string type, #根据type发送相关短信
}

# 短信验证登录 or 绑定手机号
struct UserPhoneLogin{
	1:required i32 userid,
    2:required string phone,
	3:required string code, #根据type发送相关短信
}
#用户DTO
struct UserDTO {
	1:optional map<string,string> data
}


 